package cn.bossx.user.mapper;

import cn.bossx.basic.mapper.BaseMapper;
import cn.bossx.user.domain.User;

/**
 * 操作数据库层的接口
 */
public interface UserMapper extends BaseMapper<User> {

    //1.基础的CRUD接口通过继承得到

    //2.扩展的业务接口这里自己写
    User loadByPhone(String phone);

    User loadByLogininfoId(Long id);
}